grep for `Requirement` in formulae and use that instead of this check.