pagepart generator: check that page has required functions for behat test generation