validate
If isValid is true, executes invalidBlock. Used mainly for validating entities -> do something when validation failed.
If isValidSelector returns true, executes invalidBlock. Used mainly for validating entities -> do something when validation failed.