Validate function body is not null