Error Incompatible Types Class Cannot Be Converted To Boolean

Error Incompatible Types Class Cannot Be Converted To Boolean