def METHOD_NAME(self, base_type):
    """Override method to check for handle type, only matching resource handle types."""
    if self.restrict_handles:
        if base_type in self.RESOURCE_HANDLE_TYPES:
            return True
        return False
    else:
        return BaseGenerator.METHOD_NAME(self, base_type)