Returns true if the image file has the given attribute defined.
Future<bool?> hasAttribute(String tag) => channel.invokeMethod<bool>("hasAttribute", tag);