code: public static boolean methodHasArgument(Method method, Property property) {
          for (Property candidate : method.getArguments()) {
              if (candidate.equals(property)) {
                  return true;
              }
          }
          return false;
      }
docs: Checks if method has a specific argument.
  @param method        The method.
  @param property      The argument.
  @return              True if matching argument if found.