I\'m learning SwiftUI and my focus at the moment is to implement a method which I\'m able to implement using UIKit. I need to create a method the determines whether I should Pus