Add check() to FileCheck type stub. (#82516)
Summary: check() is missing from FileCheck stub.
Test Plan: CI
Differential Revision: D38294263
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82516
Approved by: https://github.com/angelayi, https://github.com/qihqi