Let consider the following code :

import inspect

def fun(...):   # some arguments ...
    pass

How to check that the argument a is in the signature of fun ?

???