def METHOD_NAME(
    name: Optional[str] = None,
        description: str = "description",
        device: Optional[Device] = None,
        nwbfile: Optional[NWBFile] = None,
) -> IntracellularElectrode:
    intracellular_electrode = IntracellularElectrode(
        name=name or name_generator("IntracellularElectrode"),
        description=description,
        device=device or mock_Device(nwbfile=nwbfile),
    )
    if nwbfile is not None:
        nwbfile.add_icephys_electrode(intracellular_electrode)
    return intracellular_electrode