internal static bool IsDefined(ParameterInfo parameter) { return GetCustomAttribute(parameter) != null; }