(self)
return issubclass(self.model_class, PartitionedModel)
:return: True the django model is sharded, otherwise false.
:return: True the django model is sharded, otherwise false.
: return : True the django model is sharded otherwise false .
def is_sharded(self):
        """
        :return: True the django model is sharded, otherwise false.
        """
        from corehq.sql_db.models import PartitionedModel
        return issubclass(self.model_class, PartitionedModel)
def is_sharded ( self ) : from corehq . sql_db . models import PartitionedModel return issubclass ( self . model_class , PartitionedModel )