<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_prop_value(name, props, default=None):
 # type: (str, Dict[str, Any], Any) -> Any """ Returns the value of a property or the default one :param name: Name of a property :param props: Dictionary of properties :param default: Default value :return: The value of the property or the default one """

    if not props:
        return default

    try:
        return props[name]
    except KeyError:
        return default