protected function shouldRemoveRules($key, XType $type)
    {

        if ($type instanceof SequenceType) {
            return true;
        }

        if ($type->isComplex()) {
            return true;
        }

        return false;
    }
protected function shouldRemoveRules($key, XType $type)
    {

        if ($type instanceof SequenceType) {
            return true;
        }

        if ($type->isComplex()) {
            return true;
        }

        return false;
    }
protected function shouldRemoveRules ( $ key , XType $ type ) { if ( $ type instanceof SequenceType ) { return true ; } if ( $ type -> isComplex ( ) ) { return true ; } return false ; }
Return true if rules for a key should be removed from the detected rules

@param string $key
@param XType  $type

@return bool
Return true if rules for a key should be removed from the detected rules