Make sure there's an application before checking if it's secure