refactor label-functions for non-explicit return
refactor label-functions for non-explicit return

Use conditional expression 'magic' instead of using multiple line if and
explicit return calling.

ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub