protected function traitNameExists($trait)
    {
        if($this->files->exists($this->getTraitDirectory() . $this->getDirOption() . $trait . '.php')) {
            return true;
        }

        return false;
    }