has_variable

psi4.core.has_variable(key)

Whether scalar or array QCVariable key has been set in global memory.

Parameters:

key (str) – Case-insensitive key to global double or Matrix storage maps.

Return type:

bool