Checking custom business logic if task is visible and if can be
submitted