<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def use_property(kepid, prop):
 """Returns true if provenance of property is SPE or AST """

    try:
        prov = kicu.DATA.ix[kepid, '{}_prov'.format(prop)]
        return any([prov.startswith(s) for s in ['SPE', 'AST']])
    except KeyError:
        raise MissingStellarError('{} not in stellar table?'.format(kepid))