Yes you do not need to search among ALL the house's entities, IF you know the door's definition.
IF you do, then simply look in the definition's instances() collection.
If there are multiple door definition's, then you can iterate the model's DefinitionList collection, testing each definition for some identity (name value, or attribute in an attribute dictionary, etc.,) ignoring any definitions that have no instance, ie:
!defn.instances.empty?