def get_other_props(all_props, reserved_props):<EOL>
if hasattr(all_props, '<STR_LIT>') and callable(all_props.items):<EOL><INDENT>return dict([(k,v) for (k,v) in list(all_props.items()) if k not in<EOL>reserved_props])<EOL><DEDENT>return None<EOL>
Retrieve the non-reserved properties from a dictionary of properties
@args reserved_props: The set of reserved properties to exclude