634ec4f Revert "[frontend] use exists instead of all, it is faster"

Authored and Committed by frostyx 6 years ago
    Revert "[frontend] use exists instead of all, it is faster"
    
    This reverts commit b66fef178ab638716672122f65b95dd1fb4abfe6.