Adds check for local symbol