Added ScorePackageManager._is_visible() method.

The method encapsulates all the metadata (and session variable) examination
necessary to determine whether a score is currently visible or not.