Checks if method is public
Checks if the method is public.
This function has no parameters.
true if the method is public, otherwise false
true
false