Check if method exists