<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_subscript_name(subscript_dict, element):
 """ Given a subscript dictionary, and a member of a subscript family, return the first key of which the member is within the value list. If element is already a subscript name, return that Parameters subscript_dict: dictionary Follows the {'subscript name':['list','of','subscript','elements']} format element: string Returns ------- Examples: 'Dim2' """

    if element in subscript_dict.keys():
        return element

    for name, elements in subscript_dict.items():
        if element in elements:
            return name