esx_driver: Simplify IsEncrypted and IsSecure
esx_driver: Simplify IsEncrypted and IsSecure

Signed-off-by: Marcos Paulo de Souza <0b4ebe3a213a49a2bc3457b98408e6d86812eb46@gmail.com>

fabianfreyer/libvirt,nertpinx/libvirt,jardasgit/libvirt,eskultety/libvirt,crobinso/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,jardasgit/libvirt,olafhering/libvirt,olafhering/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,libvirt/libvirt,eskultety/libvirt,jfehlig/libvirt,andreabolognani/libvirt,zippy2/libvirt,eskultety/libvirt,nertpinx/libvirt,eskultety/libvirt,zippy2/libvirt,libvirt/libvirt,jardasgit/libvirt,olafhering/libvirt,zippy2/libvirt,crobinso/libvirt,jfehlig/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,nertpinx/libvirt,andreabolognani/libvirt,zippy2/libvirt,jfehlig/libvirt,eskultety/libvirt,libvirt/libvirt,libvirt/libvirt,crobinso/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,olafhering/libvirt,jfehlig/libvirt,jardasgit/libvirt,crobinso/libvirt