public function hasType($dataObjectClass)
    {
        foreach ($this->types as $scaffold) {
            if ($scaffold->getDataObjectClass() == $dataObjectClass) {
                return true;
            }
        }

        return false;
    }
public function hasType($dataObjectClass)
    {
        foreach ($this->types as $scaffold) {
            if ($scaffold->getDataObjectClass() == $dataObjectClass) {
                return true;
            }
        }

        return false;
    }
public function hasType ( $ dataObjectClass ) { foreach ( $ this -> types as $ scaffold ) { if ( $ scaffold -> getDataObjectClass ( ) == $ dataObjectClass ) { return true ; } } return false ; }
Returns true if the type has been added to the scaffolder

@param  string $dataObjectClass
@return bool
Returns true if the type has been added to the scaffolder