modified find_function_def to take in `=` assignment