Add 'data' parameter to Hatching(), improve checks and add documentation

1 job for dev-hatching_function
in 9 minutes and 33 seconds, using 0 compute credits, and was queued for 2 seconds