def yield_typed(obj_or_cls):
if not isinstance(obj_or_cls, type):<EOL><INDENT>obj_or_cls = type(obj_or_cls)<EOL><DEDENT>for attrname in dir(obj_or_cls):<EOL><INDENT>if hasattr(obj_or_cls, attrname):<EOL><INDENT>attr = getattr(obj_or_cls, attrname)<EOL>if (isinstance(attr, property) and isinstance(attr.__doc__, six.string_types)<EOL>and "<STR_LIT>" in attr.__doc__):<EOL><INDENT>yield attrname<EOL><DEDENT><DEDENT><DEDENT>
Generator that yields typed object names of the class (or object's class).

Args:
    obj_or_cls (object): Class object or instance of class

Returns:
    name (array): Names of class attributes that are strongly typed