/** * Whether the function name matches the pattern for determining whether * field values need to be checked. * * @param string $name * Function name. * * @return bool * TRUE if it matches and FALSE otherwise. */ private function isCheckFieldValuesFunction($name) { return Utils::startsWith($name, 'check') && Utils::endsWith($name, 'Values'); }