[nnc] Modified vectorize API to return bool (#59422)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/59422
Test Plan: Imported from OSS
Reviewed By: huiguoo
Differential Revision: D28886980
Pulled By: navahgar
fbshipit-source-id: 58cc3ecd86564a312a132f8260d836b096505095