We can not use not static methods or non-global methods by using className::methodName notation.
If you want to use methods of a particular class you have to have an instance of the class.
So if you want to access is() method then you can use :
A a = new A();
a.is();
OR
(new A()).is();