Updated library to use array_key_exists rather than isset