Proposal for isSecure() implementation