public bool Matches(MethodInfo method)
        {
            if (!method.HasReturn()) return false;
            if (method.ReturnType != typeof (bool)) return false;

            var format = method.DeriveFormat();
            var key = "returnValue";
            method.ReturnParameter.ForAttribute<AliasAsAttribute>(att => key = att.Alias);

            if (TemplateParser.GetSubstitutions(format).Contains(key)) return false;

            return true;
        }
 public bool Matches(MethodInfo method)
 {
     return method.HasReturn() && method.ReturnType == typeof(bool) && !method.GetParameters().Any();
 }
 public bool Matches(MethodInfo method)
 {
     return !method.HasReturn();
 }