Executes a callback if the value is defined
The type of the value
The callback function to execute
Optional
The value to check (optional)
True if the value is defined and callback was executed, false otherwise
Executes a callback if the value is defined