Reflection Java Book

boolean isSealed()
Returns true if this package is sealed.
boolean isSealed(URL url)
Returns true if this package is sealed with respect to the specified code source url