check if space is defined