added shortcut to isSecure method.