'Find the model for the given name in this document, or ``None`` if
it is not found.
Args:
name (str) : The name of the model to search for
Returns:
Model or None'

def get_model_by_name(self, name):

    return self._all_models_by_name.get_one(name, ("Found    more    than    one    model    named    '%s'" % name))
