Added hasRequirement method to capable (#4092)
Added hasRequirement method to capable (#4092)

* Added hasRequirement method to capable

* Updated style, added comment
foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2,foam-framework/foam2