check if identity exists before checking it's status