Core: Removed $.ui.hasScroll(). Fixes #9190 - Core: Remove $.ui.hasScroll().