UIViewController+isModal"Simple extension to determine if presented UIViewController is modal"License: MITSwift