@staticmethod<EOL><INDENT>def __validate_model(mdl):<DEDENT>
if not hasattr(mdl, '<STR_LIT>'):<EOL><INDENT>raise ValueError('<STR_LIT>' %(str(mdl.__class__.__name__),))<EOL><DEDENT>
__validate_model - Internal function to check that model is of correct type.

Uses a class variable that has been defined for IndexedRedisModel s for a long time, not the type itself, to prevent circular imports etc.

@param mdl - type to validate