code: def get_all_function_definitions(base_most_function):
          
          # We assume the provided function is the base-most function, so we check all derived contracts
          # for a redefinition
          return [base_most_function] + [function for derived_contract in base_most_function.contract.derived_contracts
                                         for function in derived_contract.functions
                                         if function.full_name == base_most_function.full_name]
docs: Obtains all function definitions given a base-most function. This includes the provided function, plus any
          overrides of that function.
  
          Returns:
              (list): Returns any the provided function and any overriding functions defined for it.