added orientdb#exists for graph api