SdgGate.check_env_matrix

SdgGate.check_env_matrix(env_matrix)

Check to ensure the env_matrix is validly shaped.