added an API-call that checks in string contains null