Added isSecure() function to customer