Term::slugExists PHP Method

slugExists() public method

Convenience check for slug
public slugExists ( $slug ) : boolean
return boolean
    public function slugExists($slug)
    {
        return $this->hasAny(compact('slug'));
    }