Perform null check.