Should this logic then be contained in a separate method, like `isOnScreen()`, that returns a `bool`?