Details
Description
Currently to check if a doc is trashed, we need to travserse it's path all the way to it's root-parent dir to see if '.Trash' is part of it, which is inefficient.
Adding 'is_trashed' field would be optimal as it would only add an extra param in DB search.