Sort of, the number of function arguments must be matched, unless optional. For example:
but:
def foo(a, b): ...must be passed two arguments.
but:
def foo(a, b=1): ...Only requires a, but b is optional, and defaults to 1 if not provided.