Enum member isMethod

Test if F is a method

enum isMethod(alias F) = isSomeFunction!F && !isFunctionPointer!F && !isDelegate!F;