protected function isPrefix($name)
    {
        if (empty($this->prefix)) {
            return true;
        }

        return starts_with($name, $this->prefix);
    }
protected function isPrefix($name)
    {
        if (empty($this->prefix)) {
            return true;
        }

        return starts_with($name, $this->prefix);
    }
protected function isPrefix ( $ name ) { if ( empty ( $ this -> prefix ) ) { return true ; } return starts_with ( $ name , $ this -> prefix ) ; }
Check if the given name starts with the current prefix.

@param $name

@return bool
Check if the given name starts with the current prefix .