If statement optimization - use isset instead of !empty because the request variable is empty if the input field has no value parameter even though the checkbox is activated