Move hasTitle method to correct class.