i have a simple favourite query which tells if an item is favourite to a person
g.V().has('personId','3f857b1').choose(identity().out('favourite').has('itemId','48a680b'),constant('Already_favourite'),choose(V().has('itemId','48a680b'),constant('NotFavourite'),constant('InvalidItem')))
is it a bad practice to write nested choose steps as it is in other programming languages
i wanted to know if we could implement stored procedures in gremlin