original_string: protected function hasTranslatableTrait($class)
      {
          $translatable = config('cms-models.analyzer.traits.translatable', []);
  
          if ( ! count($translatable)) {
              // @codeCoverageIgnoreStart
              return false;
              // @codeCoverageIgnoreEnd
          }
  
          return (bool) count(array_intersect($this->classUsesDeep($class), $translatable));
      }
code: protected function hasTranslatableTrait($class)
      {
          $translatable = config('cms-models.analyzer.traits.translatable', []);
  
          if ( ! count($translatable)) {
              // @codeCoverageIgnoreStart
              return false;
              // @codeCoverageIgnoreEnd
          }
  
          return (bool) count(array_intersect($this->classUsesDeep($class), $translatable));
      }
code_tokens: protected function hasTranslatableTrait ( $ class ) { $ translatable = config ( 'cms-models.analyzer.traits.translatable' , [ ] ) ; if ( ! count ( $ translatable ) ) { // @codeCoverageIgnoreStart return false ; // @codeCoverageIgnoreEnd } return ( bool ) count ( array_intersect ( $ this -> classUsesDeep ( $ class ) , $ translatable ) ) ; }
docstring: Returns whether a class has the translatable trait.
  
  @param mixed $class
  @return bool
docstring_tokens: Returns whether a class has the translatable trait .