minor refactoring for readability
refactor cw_findWithBlock
refactor cw_isObjectInArrayWithBlock
refactored cw_findAllWithBlock