Checks for the existence of, and returns professional suffix

@param string $name the name you wish to test
@return mixed returns the suffix if exists, false otherwise
491998
protected static function get_pro_suffix($name) {
    foreach (self::$dict['suffixes']['prof'] as $suffix) {
      if (preg_match("/,[\s]*$suffix\b/i", $name, $matches)) {
        return $matches[0];
      }
    }
    return false;
  }
1109589
protected function _getPatterned($name)
    {
        foreach ($this->_patterns as $pattern => $namespaces) {
            if (fnmatch($pattern, $name)) {
                if (is_string($namespaces)) {
                    return strpos($namespaces, '@') === false ? $namespaces . ucfirst($name) : $this->alias->resolveNS($namespaces . ucfirst($name));
                } else {
                    foreach ($namespaces as $namespace) {
                        $className = strpos($namespace, '@') === false ? $namespace . ucfirst($name) : $this->alias->resolveNS($namespace . ucfirst($name));
                        if (class_exists($className)) {
                            return $className;
                        }
                    }
                    return null;
                }
            }
        }

        return null;
    }
325808
public static function getConstantByName($name)
    {
        switch (strtolower($name)) {
            case 'single':
                return self::SINGLE;
            break;

            case 'multiple':
                return self::MULTIPLE;
            break;

            case 'ordered':
                return self::ORDERED;
            break;

            case 'record':
                return self::RECORD;
            break;

            default:
                return false;
            break;
        }
    }
609031
protected function findPrefixedArgument($name)
    {
        foreach ($this->filter->withPrefix() as $argument) {
            if (in_array($name, ["-{$argument->prefix()}", "--{$argument->longPrefix()}"])) {
                return $argument;
            }
        }

        return false;
    }
120631
public static function getDescriptionByName($name)
    {
        $key = strtoupper($name);
        if (isset(self::$availableNameList[$key])) {
            return self::$availableNameList[$key];
        } else {
            return false;
        }
    }
22965
public function hasExtension($name)
    {
        return isset($this->extensions[$name]) || isset($this->extensionsByNs[$name]);
    }
962270
public function get($name) {
        N('cache_read',1);
        $name   =   $this->options['prefix'].$name;
        if (xcache_isset($name)) {
            return xcache_get($name);
        }
        return false;
    }
583730
protected function getURLArg ($name)
	{
		return isset ($this->request['get'][$name])? $this->request['get'][$name] : FALSE;
	}
221977
public function getHint($name)
    {
        return isset($this->_hints[$name]) ? $this->_hints[$name] : false;
    }
457032
public static function getExtensionClass(string $name): string
    {
        $class = "";
        if (empty($name) === false && empty(self::$extension_classes[$name]) === false) {
            $class = self::$extension_classes[$name];
        }
        return $class;
    }
1130706
public function getLongName($name)
    {
        if (!$this->isParsed) {
            $this->parseDefinitions();
        } //if

        if (isset($this->shortNames[$name])) {
            return $this->shortNames[$name];
        } else {
            return null;
        } //if
    }
346264
public function exist($name){
		$name=strtolower($name);
		return (isset($this->events[$name]) && sizeof($this->events[$name]));
	}
1183264
public function getExtension(string $name)
    {
        return isset($this->extensions[$name]) ? $this->extensions[$name] : null;
    }
557853
protected function resolveNameValue($name)
    {
    	if ($name === null) return null;

    	if ($prefixName = $this->getPrefixName()) {

    		$name = $prefixName . $name;
    	}

    	return $name;
    }
81908
public static function has($name)
    {
        if (!strpos($name, '.')) {
            return isset(self::$config[strtolower($name)]);
        }

        $name = explode('.', $name, 2);
        return isset(self::$config[strtolower($name[0])][$name[1]]);
    }
789391
public function getAlias($name = null)
    {
        if (is_null($name)) {
            return $this->alias;
        }

        return isset($this->alias[$name]) ? $this->alias[$name] : null;
    }
72194
public static function isSent($name) {
	
		// remove [] from array
		if (substr($name, -2) == '[]') {
			$name = substr($name, 0, -2);
		}
		
		// seeking a possible name
		return (array_key_exists($name, $_REQUEST));
			
	}