is Valid
Whether the Style instance is valid.
Style becomes invalid after MapView.onDestroy() is invoked or if new style was loaded, calling any method then could result in undefined behaviour and will print an error log.
Keeping the reference to an invalid Style instance introduces significant native memory leak.
Return
True if Style is valid and false otherwise.