CharacterController:

controller.isGrounded

CheckSphere:

bool grounded =
    Physics.CheckSphere(
        groundCheck.position,
        radius,
        groundLayer
    );

Raycast:

bool grounded =
    Physics.Raycast(
        transform.position,
        Vector3.down,
        distance,
        groundLayer
    );