src/UthandoCommon/Stdlib/OptionsTrait.php
public function hasOption($prop)
    {
        $prop = (string)$prop;

        if (is_object($this->options)) {
            $getter = 'get' . ucfirst($prop);
            return method_exists($this->options, $getter);
        }

        return false;

    }
public function hasOption($prop)
    {
        $prop = (string)$prop;

        if (is_object($this->options)) {
            $getter = 'get' . ucfirst($prop);
            return method_exists($this->options, $getter);
        }

        return false;

    }
public function hasOption ( $ prop ) { $ prop = ( string ) $ prop ; if ( is_object ( $ this -> options ) ) { $ getter = 'get' . ucfirst ( $ prop ) ; return method_exists ( $ this -> options , $ getter ) ; } return false ; }
Check to see if option exists

@param string $prop
@return boolean
Check to see if option exists