check_key function

Check on key when create cubble from two components (spatial/temporal)