/** * Checks if a method is protected. * * @param string $method The method. * @access public * @return bool */ public function is_protected($method) { return in_array($method, Meta::get_protected_methods($this)); }